<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%  String basePath= request.getContextPath();%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.ArrayList"%>
<%@ page import="net.sf.json.JSONObject"%>
<%@ page import="com.houdoudou.bean.*"%>
<% List<Programmer> programmers= new ArrayList<Programmer>(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="<%=basePath%>/styles/basic.css" rel="stylesheet" type="text/css" />
<title>超级程序员</title>
<script type="text/javascript">

 function ExChgClsName(Obj,NameA,NameB){
  var Obj=document.getElementById(Obj)?document.getElementById(Obj):Obj;
  Obj.className=Obj.className==NameA?NameB:NameA;
 }//欢迎来到站长特z效网，我们的网址是www.zzjs.net，很好记，zz站长，js就是js特效，本站收集大量高质量js代码，还有许多广告代码下载。
 function showmenu(iNo){
 ExChgClsName("menu_"+iNo,"menu_show","menu_hide");
 }//欢迎来到站长特效网，我们的网址是www.zzjs.net，很好记，zz站长，js就是js特效，本站收集大量高质量js代码，还有许多广告代码下载。

</script>

</head>
<script type="text/javascript">
function toNormalProgrammer() 
{ 
window.location.href="../normalProgrammer/normalProgrammer.jsp";   

} 
</script>


<script>
  function changeIframe(src){
  // alert(src);
   oFrame = document.getElementById("iframe");
   oFrame.src=src;
  }
</script>
<script type="text/javascript">
function SetWinHeight(obj) 
{ 
var win=obj; 
if (document.getElementById) 
{ 
if (win && !window.opera) 
{ 
if (win.contentDocument && win.contentDocument.body.offsetHeight) 
win.height = win.contentDocument.body.offsetHeight; 
else if(win.Document && win.Document.body.scrollHeight) 
win.height = win.Document.body.scrollHeight; 
} 
} 
} 
</script>
<%@ include file="validSupperProgrammer.jsp" %> 
<body>
 
<div id="container"><!--页面层容器-->
　　<div id="header"><!--页面头部-->
  <div align="left" style="color:black; size: 20px;" >  <h2  >超级程序员 </h2> </div>
  
      <div align="right"> ${programmerTelnum}  <a  href="javascript:toNormalProgrammer();"> 普通程序员界面</a>
    <form action="<%=basePath%>/programmerServletJsp" style=" margin:0px auto; display: inline " >
    <input  type="hidden" name="affair" value="programmerLogout" />  
    <input type="submit" value="退出"   > 
    </form>   </div>

        
        
　　</div>

  <div id="pagebody"><!--页面主体-->
　　　<div id="sidebar" ><!--侧边栏-->

     <div class="menu">
<div class="menu_show" id="menu_1">
<div class="tit"><h3 class="Fst"><a href="javascript:showmenu(1);">数据库</a></h3></div>
<div class="txt">
 <ul>
  <li><a href="javascript:changeIframe('initDatabase.jsp')">初始化数据库</a></li>
  
 </ul>
</div>
</div><!--menu_1-->
<div class="menu_hide" id="menu_2">
<div class="tit"><h3><a href="javascript:showmenu(2);">程序员管理</a></h3></div>
<div class="txt">
 <ul>
<li><a href="javascript:changeIframe('createProgrammer.jsp')">新建程序员</a></li>
<li><a href="javascript:changeIframe('manageProgrammer.jsp')">管理程序员</a></li>

 </ul>
</div>
</div><!--menu_2-->
<div class="menu_hide" id="menu_3">
<div class="tit"><h3><a href="javascript:showmenu(3);">财务人员管理</a></h3></div>
<div class="txt">
 <ul>
  <li><a href="javascript:changeIframe('createFinancer.jsp')">新建财务员</a></li>
<li><a href="javascript:changeIframe('manageFinancer.jsp')">管理财务员</a></li>
 
 </ul>
</div>
</div><!--menu_3-->

</div><!-- menu -->      
　　　　</div><!--侧边栏-->
<div style='width:1px;border:1px solid #00FFFF;float:left;height:780px;background:#00FFFF;'></div>
　　<!--主体内容-->

　        <div id="mainbody"><!--主体内容-->
      <iframe id="iframe"  width="100%"  onload="Javascript:SetWinHeight(this)" frameborder="0" scrolling="no"></iframe>
      </div>
    <div class="clear"></div> 
   
 </div>

　<div id="footer"><!--页面底部--></div>

</div>


<br/>

      
</body>
</html>
